package com.kerry;

import java.util.Date;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.ApplicationContext;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import com.kerry.socket.UDPServer;
import com.mysql.fabric.xmlrpc.base.Data;

@SpringBootApplication
@MapperScan("com.kerry.mapper")
@ServletComponentScan
@EnableTransactionManagement
public class Application {
	
	public static void main(String[] args) {
		ApplicationContext context = SpringApplication.run(Application.class, args);
//		context.getBean(UDPServer.class).start();
		
//		Long timestamp = Long.parseLong("1503563637")*1000;  
//		Date data  = new Date(timestamp);
//		System.out.println(data);


System.out.println("testqqqqqwwewewewew");
		
		System.out.println("haahqqqqwwe");

System.out.println("testaaaaaaaaaaaaa");

		
	}
}
